Commit b12d2d7
committed
userdiff: adding typescript pattern
Add builtin userdiff pattern for TypeScript files.
Recognizes function declarations, class definitions,
arrow functions, and method definitions.
Handles common modifiers like export, async, static, etc..
Signed-off-by: Dhruv Arora <a_dhruv@outlook.com>1 parent 6e8d538 commit b12d2d7
1 file changed
Lines changed: 13 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
337 | 337 | | |
338 | 338 | | |
339 | 339 | | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
340 | 353 | | |
341 | 354 | | |
342 | 355 | | |
| |||
0 commit comments