a-blog cms で TypeScript を使用する
- a-blog cms 開発
TypeScript ではオブジェクトの型を定義する必要がある。 global.d.ts ファイルを用意し以下を記述する。 declare var ACMS: { Config: { scriptRoot: string }, Dispatch: { Postinclude: { _postinclude: (form: HTMLFormElement, method: string, effect: string, effectSpeed: string) => void } } Ready: (fn: () =...
田島嘉人