File tree 3 files changed +9
-3
lines changed
packages/angular_devkit/build_optimizer/src/transforms
3 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 7
7
*/
8
8
import * as ts from 'typescript' ;
9
9
10
-
10
+ /**
11
+ * @deprecated From 0.9.0
12
+ */
11
13
export function testImportTslib ( content : string ) {
12
14
const regex = / v a r ( _ _ e x t e n d s | _ _ d e c o r a t e | _ _ m e t a d a t a | _ _ p a r a m ) = \( .* \r ? \n ( .* \r ? \n ) * \} ; / ;
13
15
Original file line number Diff line number Diff line change 7
7
*/
8
8
import * as ts from 'typescript' ;
9
9
10
-
10
+ /**
11
+ * @deprecated From 0.9.0
12
+ */
11
13
export function testPrefixClasses ( content : string ) {
12
14
const exportVarSetter = / (?: e x p o r t ) ? (?: v a r | c o n s t ) \s + ( \S + ) \s * = \s * / ;
13
15
const multiLineComment = / \s * (?: \/ \* [ \s \S ] * ?\* \/ ) ? \s * / ;
Original file line number Diff line number Diff line change 8
8
import * as ts from 'typescript' ;
9
9
import { collectDeepNodes } from '../helpers/ast-utils' ;
10
10
11
-
11
+ /**
12
+ * @deprecated From 0.9.0
13
+ */
12
14
export function testScrubFile ( content : string ) {
13
15
const markers = [
14
16
'decorators' ,
You can’t perform that action at this time.
0 commit comments