Skip to content

variable is defined here, its type is (any) -> {any:any}, but got {str(aa):any} #1509

Answered by Peefy
liangyuanpeng asked this question in Q&A
Discussion options

You must be logged in to vote

dict is a builtin function and it is also the runtime type string "dict" of any dict. You can use {str:str} or {str:bool} to denote the dict with str and bool type values.

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@liangyuanpeng
Comment options

@liangyuanpeng
Comment options

@liangyuanpeng
Comment options

Answer selected by liangyuanpeng
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants