1 | import File = require('vinyl');
|
2 | import { AsyncTransformStream } from './streams';
|
3 |
|
4 |
|
5 |
|
6 | export declare class CustomElementsEs5AdapterInjector extends AsyncTransformStream<File, File> {
|
7 | constructor();
|
8 | protected _transformIter(files: AsyncIterable<File>): AsyncIterable<File>;
|
9 | }
|
10 | /**
|
11 | * Please avoid using this function because the API is likely to change. Prefer
|
12 | * the interface provided by `PolymerProject.addCustomElementsEs5Adapter`.
|
13 | *
|
14 | * When compiling ES6 classes down to ES5 we need to include a special shim so
|
15 | * that compiled custom elements will still work on browsers that support native
|
16 | * custom elements.
|
17 | *
|
18 | * TODO(fks) 03-28-2017: Add tests.
|
19 | */
|
20 | export declare function addCustomElementsEs5Adapter(html: string): string;
|