This package contains type definitions for json-schema-faker.
$ npm install json-schema-faker-types --save
Add typings
folder into typeRoots
in your tsconfig.json
tsconfig.json
{
"compilerOptions": {
...
"typeRoots" : ["./typings", "./node_modules/@types"],
...
}
}
Create typings
folder in the root of your project and put there a directory with the name json-schema-faker
.
typings/json-schema-faker/index.d.ts
import 'json-schema-faker-types';
Please take a moment to read our contributing guidelines if you haven't yet done so.