File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ // @ts -check
2+
13'use strict'
24
35const Ajv = require ( 'ajv' )
Original file line number Diff line number Diff line change 55 "main" : " index.js" ,
66 "scripts" : {
77 "test" : " standard | snazzy && tap test/*.test.js && npm run typescript" ,
8- "typescript" : " tsd"
8+ "typescript" : " tsd && tsc "
99 },
1010 "repository" : {
1111 "type" : " git" ,
2727 },
2828 "homepage" : " https://github.com/fastify/env-schema#readme" ,
2929 "devDependencies" : {
30+ "@types/node" : " ^14.11.8" ,
3031 "fluent-schema" : " ^0.8.0" ,
3132 "pre-commit" : " ^1.2.2" ,
3233 "snazzy" : " ^8.0.0" ,
3334 "standard" : " ^14.0.2" ,
3435 "tap" : " ^12.7.0" ,
35- "tsd" : " ^0.13.1"
36+ "tsd" : " ^0.13.1" ,
37+ "typescript" : " ^4.0.3"
3638 },
3739 "dependencies" : {
3840 "ajv" : " ^6.10.2" ,
Original file line number Diff line number Diff line change 1+ {
2+ "files" : [
3+ " index.js"
4+ ],
5+ "include" : [
6+ " test/**/*.js"
7+ ],
8+ "compilerOptions" : {
9+ /* Basic Options */
10+ "target" : " ES2016" ,
11+ "module" : " commonjs" ,
12+ "allowJs" : true ,
13+ "resolveJsonModule" : true ,
14+ "noEmit" : true ,
15+ "esModuleInterop" : true ,
16+
17+ /* Additional Checks */
18+ "noUnusedLocals" : true ,
19+ }
20+ }
You can’t perform that action at this time.
0 commit comments