Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Codebase Compiler FAQ

Nathan Shively-Sanders edited this pageSep 2, 2022 ·1 revision

Frequently Asked Questions

How can I find out if a type isnumber[]?

getElementTypeOfArrayType(t)===numberType

getElementTypeOfArrayType returns undefined ift is not an array type.UseisArrayType orisArrayLikeType if that's all you need to know.

How can I delete nodes in a transformer?

Probably you returnundefined instead of a new or existin node, but look at src/compiler/transformers/ts.ts.Deleting type annotations is its main job.

Want to contribute to this Wiki?

Fork it and send a pull request.

News

Debugging TypeScript

Contributing to TypeScript

Building Tools for TypeScript

FAQs

The Main Repo

Clone this wiki locally

[8]ページ先頭

©2009-2025 Movatter.jp