@putout/babel 1.5.4 → 1.5.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundle/index.d.ts +11 -1
- package/package.json +1 -1
package/bundle/index.d.ts
CHANGED
|
@@ -5457,6 +5457,16 @@ interface Location {
|
|
|
5457
5457
|
|
|
5458
5458
|
interface CodeFrameOptions {}
|
|
5459
5459
|
|
|
5460
|
+
interface TemplateOptions {}
|
|
5461
|
+
|
|
5460
5462
|
declare function codeFrameColumns(rawLines: string, location: Location, options: CodeFrameOptions): string;
|
|
5463
|
+
declare function ast(source: string): Node;
|
|
5464
|
+
declare function generate(ast: Node): string;
|
|
5465
|
+
declare function template(source: string, options?: TemplateOptions): string;
|
|
5466
|
+
declare namespace template {
|
|
5467
|
+
export {
|
|
5468
|
+
ast,
|
|
5469
|
+
};
|
|
5470
|
+
}
|
|
5461
5471
|
|
|
5462
|
-
export { DecoratorsPluginOptions, FlowPluginOptions, ParseError, ParseResult, ParserOptions, ParserPlugin, ParserPluginWithOptions, PipelineOperatorPluginOptions, RecordAndTuplePluginOptions, TypeScriptPluginOptions, codeFrameColumns, parse, parseExpression, tokTypes, traverse, indexLegacy_d as types };
|
|
5472
|
+
export { DecoratorsPluginOptions, FlowPluginOptions, ParseError, ParseResult, ParserOptions, ParserPlugin, ParserPluginWithOptions, PipelineOperatorPluginOptions, RecordAndTuplePluginOptions, TypeScriptPluginOptions, codeFrameColumns, generate, parse, parseExpression, template, tokTypes, traverse, indexLegacy_d as types };
|