17.1.1 • Published 2 months ago
@wixc3/typescript v17.1.1
typescript package
TypeScript utilities
Functions
Function | Description |
---|---|
compileCode(code, fakePath) | Compiles a code string to typescript AST |
findAllNodes(source, predicate) | Finds all nodes satisfying the predicate |
findNode(source, predicate) | Finds the first node (via DFS) satisfying the predicate |
findNodeAfterComment(node, comment) | Finds all nodes following a comment |
getLeadingComments(node) | A more regorges ts.getLeadingCommentRanges: Finds mid - statement comments as well |
isSame(a, b, ignore, reportDiff) | Compared 2 code snippet (or ASTs) |
match(code, pattern) | Finds a node matching the pattern. The pattern is a valid TS statementIt may include:- //[ignore] to skip some of its structure,- //[return] to return an inner node instead of the root |
Type Aliases
Type Alias | Description |
---|---|
Comment_2 |
17.1.1
2 months ago
17.0.0
2 months ago
16.2.1
2 months ago
16.2.0
3 months ago
16.1.0
4 months ago
16.0.0
4 months ago
15.1.1
5 months ago
15.0.0
5 months ago
14.0.0
5 months ago
14.1.0
5 months ago
12.0.1
11 months ago
13.4.0
6 months ago
13.3.2
8 months ago
13.2.0
10 months ago
13.0.0
10 months ago
13.1.0
10 months ago
13.0.1
10 months ago
11.0.0
11 months ago
8.2.1
12 months ago
10.0.0
11 months ago
9.0.0
11 months ago
8.0.0
1 year ago
7.1.0
1 year ago
7.0.3
1 year ago
7.0.0
1 year ago
6.0.0
1 year ago
5.2.4
1 year ago
5.0.0
1 year ago
4.0.0
1 year ago
3.1.0
1 year ago
3.0.7
1 year ago
3.0.1
1 year ago