UNPKG

typescript-react-loadable-plugin

Version:

A react-loadable plugin to add modules & webpack for typescript

9 lines (8 loc) 445 B
/*! * Copyright 2019 acrazing <joking.young@gmail.com>. All rights reserved. * @since 2019-10-31 19:19:08 */ import ts from 'typescript'; import { ReactLoadableTransformerOptions } from './types'; export declare function getRealExpression(node: ts.Node): ts.Node; export declare function createReactLoadableTransformer(program: ts.Program | undefined, options: Partial<ReactLoadableTransformerOptions>): ts.TransformerFactory<ts.SourceFile>;