You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
具体错误是:Argument of type 'UserInterface' is not assignable to parameter of type 'JsonType'.
Type 'UserInterface' is not assignable to type '{ [key: string]: JsonType; }'.
Index signature for type 'string' is missing in type 'UserInterface'.
很奇怪,不太清楚是不是 ts 的 bug
具体错误是:Argument of type 'UserInterface' is not assignable to parameter of type 'JsonType'.
Type 'UserInterface' is not assignable to type '{ [key: string]: JsonType; }'.
Index signature for type 'string' is missing in type 'UserInterface'.
复现的地址:https://www.typescriptlang.org/play?#code/JYWwDg9gTgLgBAbzgJQKYGdIDt2rgXzgDMoIQ4ByIgQylIHcBaACxhjAoG4AoUSWRHAASbMAWKlyVWgxaiu3bgGMIOeK3ZwAvMNEAKAJQ9uMAJ5g8AVVxQAKubw6E3OHGAATAFxwsAVxAARqhQ3PjGKmpwvjb2Ft7WwbGOiC5uXnCMAIwANKHGGmAAdADmqDB6FAD00YkOFAaFNXqG2gB8Ka5QZb5QWCgY2LiFAFboqno1dg5GoTO8WDDBNEpWNgCSC0vUKx1p3n6BwaGKEejwkxuLUMuo8eub19vJzq4e3lm5YYoFJWUV1fcrjd6o1cM0DG1dl0YD0+mhMKohqNxhcHjcZvgjEA
代码:
The text was updated successfully, but these errors were encountered: