次のタグが付いている新しい回答: typescript
0
すみません.自己RESです.
"dependencies": {
"@types/es6-promise": "^3.3.0",
"@types/jquery": "^3.5.5",
"jquery-ui": "^1.12.1"
}
が間違っていたようです.jquery-uiをアンインストールし
npm install @types/jqueryui
でやり直したところ、エラーは消えて
(method) JQuery.autocomplete(options: JQueryUI.AutocompleteOptions): JQuery ...
1
index.tsを経由してmyfunctinons.tsの実装をexportしたいとお見受けしました。
スマートな回答としては以下のようになります。
// myfunctions.ts
import * as functions from 'firebase-functions';
export const func1 = functions.https.onRequest((req, res) => ...);
export const func2 = functions.https.onRequest((req, res) => ...);
index.tsからexportする方法は以下の3通り
// パターン1: named exportを利用する
// https://www....
上位 50 件の最近の回答が含まれています
関連するタグ
typescript × 115javascript × 46
reactjs × 25
node.js × 16
vue.js × 7
webpack × 6
angularjs × 5
material-ui × 5
nuxt.js × 4
react-jsx × 4
html × 3
jestjs × 3
next.js × 3
jquery × 2
html5 × 2
json × 2
vscode × 2
firebase × 2
emacs × 2
npm × 2
テスト × 2
react-native × 2
angular × 2
redux × 2
aws × 1