nycbsa_types
v1.0.1
Published
Types for the NYC Benefits Screening API
Downloads
3
Maintainers
Readme
Typescript Typings for The NYC Benefits Screener API
This repository contains typings for using the NYC Benefits Screener API for use with Typescript.
The index file contains nested types and interfaces for making requests to the API.
Usage
Get the package with npm install nycbsa_types
.
You can import the types under the name NYCBSA or individually.
import {NYCBSA} from 'nycbsa_types'
const household: NYCBSA.HouseholdConfig {...}
import {RequestConfig, HouseholdConfig} from 'nycbsa_types'
const household : HouseholdConfig {...}
Alternatively, download index.d.ts
from this repo.
Then in your project, reference the file in the top of your .ts
with the path to where the file is stored. It might look like this:
///
<reference path="../node_modules/@types/nycbsa_types/index.d.ts"
/>