私が消費しているノードコードは次のようになります。
var helloworld = require('helloworld');
helloworld.sayhello();
Typescriptの良さを使用して、sayhello()
関数をエクスポートするモジュールをどのように宣言しますか?
私が消費しているノードコードは次のようになります。
var helloworld = require('helloworld');
helloworld.sayhello();
Typescriptの良さを使用して、sayhello()
関数をエクスポートするモジュールをどのように宣言しますか?