私はtypescriptでnewbeで、typescript 2.2でjointjs定義ファイルを使用しようとしています。ジョイント型定義
これはgithubの定義ファイルです。 https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/jointjs/index.d.ts
私typescriptファイルにjointjsをインポートする私はindex.d.tsファイルからクラスや関数を呼び出すことができますどのように
import { joint } from 'jointjs';
を使うのか?
プロジェクトはどのようにセットアップされますか?モジュールを使用している場合は、[jointjsには独自の型定義があります(https://github.com/clientIO/joint/blob/master/dist/joint.d.ts) DTが必要です。 – Aaron