TypeScript can infer the type implicitly for simple or primitive types. In the example below, TypeScript infers that counter is a number. const ...
確定! 回上一頁