type Type1 = {
a: boolean,
[x: string]: number
};
const type1: Type1 = {
a: true,
b: 2,
};
console.log('type1:', type1);
type Type1 = {
a: boolean,
[x: string]: number
};
const type1: Type1 = {
a: true,
b: 2,
};
console.log('type1:', type1);
5 回答4.9k 阅读✓ 已解决
4 回答3.2k 阅读✓ 已解决
2 回答4.8k 阅读✓ 已解决
4 回答4.4k 阅读✓ 已解决
4 回答1.9k 阅读✓ 已解决
2 回答2.7k 阅读✓ 已解决
2 回答2.6k 阅读✓ 已解决