TypeScript Deep Dive 日本語版
検索
⌃K
TypeScript Deep Dive 日本語版
検索
⌃K
TypeScript Deep Dive 日本語版
TypeScript入門 & 環境構築
JavaScript
モダンなJavaScriptの機能
プロジェクトの環境設定
Node.js & TypeScriptのプロジェクト作成
React & TypeScriptのプロジェクト作成
TypeScriptの型システム
JSX
オプション
TypeScriptのエラー
NPM
テスト
ツール
その他のヒント
String Based Enums
Nominal Typing
Stateful Functions
Bind is Bad
Currying
Type Instantiation
Lazy Object Literal Initialization
Classes are Useful
Avoid Export Default
Limit Property Setters
outFile caution
JQuery tips
static constructors
singleton pattern
Function parameters
Build Toggles
Barrel
Create Arrays
Typesafe Event Emitter
スタイルガイド(コーディング規約)
TypeScriptコンパイラの内側
GitBook
上で動作しています
JQuery tips
注意:これらのTipsのために
jquery.d.ts
ファイルをインストールする 必要があります
新しいプラグインをすばやく定義する
次のように
jquery-foo.d.ts
を作成してください:
interface
JQuery
{
foo
:
any
;
}
そして、あなたは
$('something').foo({whateverYouWant:'hello jquery plugin'})
を使うことができます。
前
outFile caution
次
static constructors
最終更新
8mo ago