Support numeric separator for typescript. (#524)

This commit is contained in:
David Sherret 2019-12-23 00:35:58 -05:00 committed by 강동윤
parent 24b5c44ba3
commit 668c2713d9

View File

@ -160,7 +160,7 @@ impl Syntax {
pub fn num_sep(self) -> bool {
match self {
Syntax::Es(EsConfig { num_sep: true, .. }) => true,
Syntax::Es(EsConfig { num_sep: true, .. }) | Syntax::Typescript(..) => true,
_ => false,
}
}