feat: add typedef file

This commit is contained in:
lucas-neynar 2025-03-26 12:17:05 -07:00
parent c794265892
commit ce60e03424
No known key found for this signature in database
2 changed files with 9 additions and 2 deletions

5
index.d.ts vendored Normal file
View File

@ -0,0 +1,5 @@
/**
* Initialize a new Farcaster mini-app project
* @returns Promise<void>
*/
export function init(): Promise<void>;

View File

@ -1,15 +1,17 @@
{ {
"name": "@neynar/create-farcaster-mini-app", "name": "@neynar/create-farcaster-mini-app",
"version": "1.2.5", "version": "1.2.6",
"type": "module", "type": "module",
"private": false, "private": false,
"access": "public", "access": "public",
"exports": { "exports": {
".": "./bin/init.js" ".": "./bin/init.js"
}, },
"types": "./index.d.ts",
"files": [ "files": [
"bin/index.js", "bin/index.js",
"bin/init.js" "bin/init.js",
"index.d.ts"
], ],
"keywords": [ "keywords": [
"farcaster", "farcaster",