typed-dingtalk
v2.3.0-beta.3
Published
typescript declaration for Dingtalk
Downloads
16
Maintainers
Readme
typed-dingtalk
TypeScript declaration file for Dingtalk jsapi
Install
With
npm
installednpm install typed-dingtalk --save-dev
With
typings
installedtypings install github:Emeryao/typed-dingtalk -SG
Or get the declaration file here and include it to your project
for
Angular
projects created withng new
have a./src/tsconfig.app.json
with default content{ "extends": "../tsconfig.json", "compilerOptions": { "outDir": "../out-tsc/app", "types": [] }, "exclude": [] }
the line of
"types":[]
should be removed to make the declaration file work
About
Based on the official Dingtalk API documentationdingtalk.js
Version 2.3.0
About the jsdoc comment
- all Chinese punctuations in comments have been removed
- a comment quoted by
"
means it is directly copy/paste from the official documentaion - a comment quoted by
'
means it is copied from the official documentation and had been modifieda common scenario is removing some useless messages like
"the type is number blablabla"
- a comment has no quotes means it is written by myself
Last Update
2018.09.13 UTC+08:00