https://github.com/singcl/r-ts
🌽The way to Typescript...
https://github.com/singcl/r-ts
ts
Last synced: 8 months ago
JSON representation
🌽The way to Typescript...
- Host: GitHub
- URL: https://github.com/singcl/r-ts
- Owner: singcl
- License: apache-2.0
- Created: 2017-12-24T05:26:09.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-12-23T05:09:55.000Z (over 7 years ago)
- Last Synced: 2025-02-12T08:53:32.101Z (over 1 year ago)
- Topics: ts
- Language: TypeScript
- Homepage:
- Size: 101 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## The way to Typescript.
[](https://github.com/prettier/prettier)
[](https://app.fossa.io/projects/git%2Bgithub.com%2Fsingcl%2Fr-ts?ref=badge_shield)
[](https://www.npmjs.com/package/@singcl/r-ts)
[](https://codeclimate.com/github/singcl/r-ts/maintainability)
- [Typescript](http://www.typescriptlang.org/docs/home.html)
_badge: https://img.shields.io/_
### API
_simple .d.ts in the library._
```typescript
declare namespace XClass {
interface XClassMethodOptions {
width?: number;
height?: number;
}
}
declare class XClass {
someProperty: string[];
constructor(someParam?: string);
myMethod(opts: XClass.XClassMethodOptions): number;
}
export = XClass;
```
[tsconfig.json详细配置说明](http://json.schemastore.org/tsconfig)
## License
[](https://app.fossa.io/projects/git%2Bgithub.com%2Fsingcl%2Fr-ts?ref=badge_large)