Skip to content

Commit 432aade

Browse files
clydindgp1130
authored andcommitted
refactor(@angular-devkit/build-optimizer): remove errant deprecations
These functions are not public and are also used internally.
1 parent 57bc38e commit 432aade

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

packages/angular_devkit/build_optimizer/src/transforms/prefix-classes.ts

-3
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@
88
import * as ts from 'typescript';
99
import { addPureComment } from '../helpers/ast-utils';
1010

11-
/**
12-
* @deprecated From 0.9.0
13-
*/
1411
export function testPrefixClasses(content: string) {
1512
const exportVarSetter = /(?:export )?(?:var|const)\s+(?:\S+)\s*=\s*/;
1613
const multiLineComment = /\s*(?:\/\*[\s\S]*?\*\/)?\s*/;

packages/angular_devkit/build_optimizer/src/transforms/scrub-file.ts

-3
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@
88
import * as ts from 'typescript';
99
import { collectDeepNodes } from '../helpers/ast-utils';
1010

11-
/**
12-
* @deprecated From 0.9.0
13-
*/
1411
export function testScrubFile(content: string) {
1512
const markers = [
1613
'decorators',

0 commit comments

Comments
 (0)