typescript-loadable-components-plugin
Version:
A custom transformer of typescript that is used to add some necessary properties to loadable-components.
8 lines (7 loc) • 398 B
TypeScript
/*!
* Copyright 2019 acrazing <joking.young@gmail.com>. All rights reserved.
* @since 2019-11-01 23:01:37
*/
import * as ts from 'typescript';
import { LoadableComponentsTransformerOptions } from './types';
export declare function createLoadableComponentsTransformer(program: ts.Program | undefined, options: Partial<LoadableComponentsTransformerOptions>): ts.TransformerFactory<ts.SourceFile>;