1
1
mirror of https://github.com/github/semantic.git synced 2024-12-30 02:14:20 +03:00

Add a typescript typechecking entry point.

This commit is contained in:
Rob Rix 2018-03-14 10:23:54 -04:00
parent 2ecc371f8d
commit eb41c0886e

View File

@ -71,6 +71,7 @@ evaluatePythonFiles paths = do
pure $ evaluates @PythonValue rest first
-- TypeScript
typecheckTypeScriptFile path = runAnalysis @(Caching Evaluating TypeScript.Term Type) . evaluateModule . snd <$> parseFile typescriptParser path
evaluateTypeScriptFile path = fst . evaluate @TypeScriptValue . snd <$> parseFile typescriptParser path
evaluateTypeScriptFiles paths = do