json-schema-faker-types

TypeScript definitions for json-schema-faker

Usage no npm install needed!

<script type="module">
  import jsonSchemaFakerTypes from 'https://cdn.skypack.dev/json-schema-faker-types';
</script>

README

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