UNPKG

294 BPlain TextView Raw
1import type { SourceTemplate } from './source-template';
2
3export type TsWriterVariables = {
4 [x: string]: unknown;
5};
6
7export type TsWriterArgument<V extends TsWriterVariables> =
8 | Extract<keyof V, string>
9 | `${Extract<keyof V, string>}.${string}`
10 | SourceTemplate
11 | SourceTemplate[];