@glint/core
Version:
A CLI for performing typechecking on Glimmer templates
23 lines (22 loc) • 936 B
TypeScript
import { GlintEnvironment } from './environment.js';
import { GlintConfigInput } from '@glint/core/config-types';
/**
* This class represents parsed Glint configuration from a `tsconfig` or `jsconfig` file,
* with methods for interrogating project configuration based on its contents.
*/
export declare class GlintConfig {
readonly ts: typeof import('typescript');
readonly rootDir: string;
readonly configPath: string;
readonly environment: GlintEnvironment;
readonly checkStandaloneTemplates: boolean;
private extensions;
constructor(ts: typeof import('typescript'), configPath: string, config: GlintConfigInput);
/**
* Indicates whether this configuration object applies to the file at the
* given path.
*/
includesFile(rawFileName: string): boolean;
getSynthesizedScriptPathForTS(filename: string): string;
}
export declare function normalizePath(fileName: string): string;