擦除的类型
粗略地说,一旦 TypeScript 的编译器检查完您的代码,它就会擦除类型以生成生成的 "compiled" 代码。这意味着一旦你的代码被编译,生成的普通 JS 代码就没有类型信息。
Roughly speaking, once TypeScript's compiler is done with checking your code, it erases the types to produce the resulting "compiled" code. This means that once your code is compiled, the resulting plain JS code has no type information.
PCqUJdtY+TFfk7UMrZOUxn45w1JzEJP61qMFbYL+UvZPtawocnMTCxbvA+w6wFSHJEzBEgsSrkrUmNbLCX9BuvnhPSKlUG7+zOtZrMPnuzZ7NNGyBekMBAhlbOYw2feBvRcyPaVp7G5gAxCsZzNOhG7+bu1v49eTZiWqWET8FGchPHbLMGnUPEjdWhQ+rwOXuQmnEiwpjkL3lQfIr/JEDtD++qGiLXpD8DZIgogKOyWAugDkvtJYpAg5qvkVWLlv6jtMb4r7XDxdBgUVz1qOIHZk8xmB3qOIA3DZKdjVesXIujL7PhzrRHDLGoSTBCeQB7ypPGzcND4h2ZQ8gt3EavGiYNlkiZn4HryTqrJMADbLUDKvQ1npoQRQD+Uhi9ePq92yESb92quwkFh2YcZmf/UmGXCQS6GJI33nQBn8IsP0LNTWse5PcLC4gPgLFH8mHNB1BzW5wl7jMaXnNtGXU38AlvlLXB4nxsB42J9eVA7qzfnUOiE/Ltrnzk2S3k/KnVlHVlHBcUUmqWifUfbC+eHsn68sqRywd37V/VYcM2mVwTOrznQqeJL78+1l0TL6bX1CvT4MqDDKCscdsqUBHE4bd/kRRBHDHe0wK3KowACXX4WLnPki82zZYiokrtt6kbyoJ7HNgcfHYdGIIx8CXqSkX9QkgfQHwkOyL/6pTCfBShRhlPFPPfsXGujL36il
aTZti48m11tP16rf9+S/YCyD8Ws+eChg1686oKrbKuYC9nI4t4ZLZs0gf8LClzGVU1OWGnvX1hhselWxAzNybHT6qEZ7ZdbT/Oo6j+tQIrDqJxbPmHX/sxJLGOG+/y9WlsMz96sn8B+1qJkY29CQ2jQLs9Non7deFjeB+Wokvy8tlp4UiN2FTA8YgWN/PtX+zudq9He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