UNPKG

@glint/core

Version:

A CLI for performing typechecking on Glimmer templates

27 lines (26 loc) 1.04 kB
import { GlintConfig, loadConfig } from './config/index.js'; import TransformManager from './common/transform-manager.js'; import GlintLanguageServer from './language-server/glint-language-server.js'; import * as utils from './language-server/util/index.js'; /** @internal */ export interface ProjectAnalysis { glintConfig: GlintConfig; transformManager: TransformManager; languageServer: GlintLanguageServer; shutdown: () => void; } /** @internal */ export declare const pathUtils: typeof utils; /** * This function is available to consumers as an unstable API. We will not go * out of our way to change or break it, but there may be breaking changes * to its behavior or type signature outside of major version bumps. * * See the `auto-glint-nocheck` implementation in `@glint/scripts` for a * sample use of this API. * * @internal */ export declare function analyzeProject(projectDirectory?: string): ProjectAnalysis; export { loadConfig }; export type { TransformManager, GlintConfig, GlintLanguageServer };