/
githubmirror
/
amphtml
Обзор
Документация
Войти
/
githubmirror
/
amphtml
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/experiments/types.d.ts
8 строк
265 B
Ryan Cebulko
♻️ Fully pass typechecking in #experiments + references cleanup (#37214)
16 дек 2021, 23:20
Не верифицирован
16 дек 2021, 23:20
c20155c
Код
Авторство
О чём код?
export type ExperimentInfo = { experimentId: string; isTrafficEligible: (win: Window) => boolean; branches: string[]; }; // Map from experiment ID to one of its branches (or null, if ineligible) export type ExperimentBranchMap = {[key: string]: (string|null)};