main
Last change
on this file was 79a0317, checked in by stefan toskovski <stefantoska84@…>, 5 weeks ago |
F4 Finalna Verzija
|
-
Property mode
set to
100644
|
File size:
738 bytes
|
Line | |
---|
1 | "use strict";
|
---|
2 |
|
---|
3 | Object.defineProperty(exports, "__esModule", {
|
---|
4 | value: true
|
---|
5 | });
|
---|
6 | exports.addDeprecatedGenerators = addDeprecatedGenerators;
|
---|
7 | function addDeprecatedGenerators(PrinterClass) {
|
---|
8 | {
|
---|
9 | const deprecatedBabel7Generators = {
|
---|
10 | Noop() {},
|
---|
11 | TSExpressionWithTypeArguments(node) {
|
---|
12 | this.print(node.expression);
|
---|
13 | this.print(node.typeParameters);
|
---|
14 | },
|
---|
15 | DecimalLiteral(node) {
|
---|
16 | const raw = this.getPossibleRaw(node);
|
---|
17 | if (!this.format.minified && raw !== undefined) {
|
---|
18 | this.word(raw);
|
---|
19 | return;
|
---|
20 | }
|
---|
21 | this.word(node.value + "m");
|
---|
22 | }
|
---|
23 | };
|
---|
24 | Object.assign(PrinterClass.prototype, deprecatedBabel7Generators);
|
---|
25 | }
|
---|
26 | }
|
---|
27 |
|
---|
28 | //# sourceMappingURL=deprecated.js.map
|
---|
Note:
See
TracBrowser
for help on using the repository browser.