Skip to content

Commit 14e92d2

Browse files
committed
Added typescript types
1 parent 7e654ee commit 14e92d2

File tree

8 files changed

+1040
-1
lines changed

8 files changed

+1040
-1
lines changed

index.d.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
import * as FormTypes from './typescript/forms'
2+
import * as MiscTypes from './typescript/misc'
3+
import * as SubmissionEventTypes from './typescript/submissionEvents'
4+
import * as FormsAppsTypes from './typescript/formsApps'
5+
6+
export { FormTypes, MiscTypes, SubmissionEventTypes, FormsAppsTypes }

package-lock.json

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
},
99
"devDependencies": {
1010
"flow-bin": "^0.130.0",
11-
"prettier": "^2.0.5"
11+
"prettier": "^2.0.5",
12+
"typescript": "^4.0.2"
1213
},
1314
"files": [
1415
"flow-typed",

tsconfig.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"compilerOptions": {
3+
/* Visit https://aka.ms/tsconfig.json to read more about this file */
4+
/* Basic Options */
5+
// "incremental": true, /* Enable incremental compilation */
6+
"target": "es5" /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019', 'ES2020', or 'ESNEXT'. */,
7+
/* Strict Type-Checking Options */
8+
"strict": true,
9+
"noImplicitAny": true,
10+
"forceConsistentCasingInFileNames": true,
11+
"moduleResolution": "node",
12+
"resolveJsonModule": true,
13+
"isolatedModules": true,
14+
"noEmit": true,
15+
"esModuleInterop": true
16+
}
17+
}

0 commit comments

Comments
 (0)