chore: add lint-ts rule (#10427)

This commit is contained in:
Huáng Jùnliàng
2019-09-11 14:24:08 -04:00
committed by Nicolò Ribaudo
parent 1b352ca8a1
commit 0ee2c42b55
4 changed files with 19 additions and 1 deletions

View File

@@ -0,0 +1,7 @@
#!/bin/bash
set -e
node="node"
tsFlags="--strict"
$node ./node_modules/typescript/bin/tsc $tsFlags ./packages/babel-types/lib/index.d.ts