Skip to content

aleksandryackovlev/json-schema-faker-types

Repository files navigation

npm deps Build Status size

json-schema-faker-types

This package contains type definitions for json-schema-faker.

Installation

$ npm install json-schema-faker-types --save

Usage

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';

Contributing

Please take a moment to read our contributing guidelines if you haven't yet done so.

CONTRIBUTING

License

MIT