mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-26 14:15:57 +08:00
14 lines
345 B
TypeScript
14 lines
345 B
TypeScript
import expand = require('brace-expansion');
|
|
|
|
// $ExpectType string[]
|
|
expand('file-{a,b,c}.jpg');
|
|
expand('-v{,,}');
|
|
expand('file{0..2}.jpg');
|
|
expand('file-{a..c}.jpg');
|
|
expand('file{2..0}.jpg');
|
|
expand('file{0..4..2}.jpg');
|
|
expand('file-{a..e..2}.jpg');
|
|
expand('file{00..10..5}.jpg');
|
|
expand('{{A..C},{a..c}}');
|
|
expand('ppp{,config,oe{,conf}}');
|