Add typings and jsdoc comments to improve developer experience
This commit is contained in:
parent
f219b4b2bf
commit
764a3ca223
9 changed files with 765 additions and 4 deletions
11
plejd/types/PlejdApi.d.ts
vendored
Normal file
11
plejd/types/PlejdApi.d.ts
vendored
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
/* eslint-disable no-use-before-define */
|
||||
|
||||
import { ApiSite } from './ApiSite';
|
||||
|
||||
export type PlejdApi = {
|
||||
config: any;
|
||||
deviceRegistry: any;
|
||||
sessionToken: string;
|
||||
siteId: string;
|
||||
siteDetails: ApiSite;
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue