/
githubmirror
/
amphtml
Обзор
Документация
Войти
/
githubmirror
/
amphtml
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/core/amp-globals.d.ts
32 строки
659 B
erwin mombay
add an additional suffix instead of a rename (#38343)
19 июл 2022, 22:06
Не верифицирован
19 июл 2022, 22:06
352a59a
Код
Авторство
О чём код?
export {}; declare global { interface Window { // Global property set by test some harnesses to signal a testing environment. __AMP_TEST?: boolean; // AMP Mode, used to force an override in tests. __AMP_MODE: AmpModeObject; // AMP Runtime settings, configuration, and environment/build constants. AMP_CONFIG?: AmpConfig & {[key: string]: boolean | string}; } interface Document { AMP?: { canonicalUrl?: string; }; } interface AmpConfig { test?: boolean; localDev?: boolean; canary?: boolean; type?: string; } interface AmpModeObject { esm: boolean; noCssBinary: boolean; } }