Last change
on this file was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
1004 bytes
|
Rev | Line | |
---|
[6a3a178] | 1 | /**
|
---|
| 2 | * @license
|
---|
| 3 | * Copyright Google LLC All Rights Reserved.
|
---|
| 4 | *
|
---|
| 5 | * Use of this source code is governed by an MIT-style license that can be
|
---|
| 6 | * found in the LICENSE file at https://angular.io/license
|
---|
| 7 | */
|
---|
| 8 | import { PluginObj } from '@babel/core';
|
---|
| 9 | /**
|
---|
| 10 | * Provides one or more keywords that if found within the content of a source file indicate
|
---|
| 11 | * that this plugin should be used with a source file.
|
---|
| 12 | *
|
---|
| 13 | * @returns An a string iterable containing one or more keywords.
|
---|
| 14 | */
|
---|
| 15 | export declare function getKeywords(): Iterable<string>;
|
---|
| 16 | /**
|
---|
| 17 | * A babel plugin factory function for adjusting classes; primarily with Angular metadata.
|
---|
| 18 | * The adjustments include wrapping classes with known safe or no side effects with pure
|
---|
| 19 | * annotations to support dead code removal of unused classes. Angular compiler generated
|
---|
| 20 | * metadata static fields not required in AOT mode are also elided to better support bundler-
|
---|
| 21 | * level treeshaking.
|
---|
| 22 | *
|
---|
| 23 | * @returns A babel plugin object instance.
|
---|
| 24 | */
|
---|
| 25 | export default function (): PluginObj;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.