Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
362 views
in Technique[技术] by (71.8m points)

javascript - 打印打字稿编译器选项(Print typescript compiler options)

Is there a way to print the options used by tsc ?(有没有办法打印tsc使用的选项?)

I feel like it doesn't take my tsconfig.json into account and I'm looking for a flag that would allow me to know what kind of options it's trying to use.(我感觉好像没有考虑我的tsconfig.json ,我正在寻找一个标志,该标志可以让我知道它正在尝试使用哪种类型的选项。)   ask by Loic Coenen translate from so

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

typescript 3.2.(打字稿3.2。)

has a new --showConfig flag: see #27353: Add showConfig tsc flag for debugging configs(有一个新的--showConfig标志:请参阅#27353:添加showConfig tsc标志以调试配置) usage:(用法:) tsc --showConfig

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...