/
githubmirror
/
angular-cli
Обзор
Документация
Войти
/
githubmirror
/
angular-cli
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
packages/angular/build/src/tools/esbuild/wasm.d.ts
25 строк
831 B
Charles Lyding
feat(@angular/build): support WASM/ES Module integration proposal
03 июл 2024, 16:26
03 июл 2024, 16:26
2cb1fb3
Код
Авторство
О чём код?
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ /** @fileoverview * TypeScript does not provide a separate lib for WASM types and the Node.js * types (`@types/node`) does not contain them either. This type definition * file provides type information for the subset of functionality required * by the Angular build process. Ideally this can be removed when the WASM * type situation has improved. */ declare namespace WebAssembly { class Module { constructor(data: Uint8Array); static imports(mod: Module): { module: string; name: string }[]; static exports(mode: Module): { name: string }[]; } function compile(data: Uint8Array): Promise<Module>; }