1 | declare module 'ember-template-compiler/lib/types' {
|
2 | import type {
|
3 | ASTPluginBuilder,
|
4 | ASTPluginEnvironment,
|
5 | builders,
|
6 | PrecompileOptions,
|
7 | } from '@glimmer/syntax';
|
8 | export type Builders = typeof builders;
|
9 | export interface PluginFunc extends ASTPluginBuilder<EmberASTPluginEnvironment> {}
|
10 | interface Plugins {
|
11 | ast: PluginFunc[];
|
12 | }
|
13 | export interface EmberPrecompileOptions extends PrecompileOptions {
|
14 | isProduction?: boolean;
|
15 | moduleName?: string;
|
16 | plugins?: Plugins;
|
17 | lexicalScope?: (name: string) => boolean;
|
18 | }
|
19 | export type EmberASTPluginEnvironment = ASTPluginEnvironment & EmberPrecompileOptions;
|
20 | export {};
|
21 | }
|