baojd42
baojd42
@wayward-man 请问你是编辑器提示错误,还是编译的时候报错? 我这里试了一下,指定具体子类型后,编译没问题,但是vscode中提示跟你一样的错误,这时候在tsconfig里面添加到include,就没有这个错误提示了. 不知道跟你是不是一样的问题.
> > @wayward-man 请问你是编辑器提示错误,还是编译的时候报错? > > 我这里试了一下,指定具体子类型后,编译没问题,但是vscode中提示跟你一样的错误,这时候在tsconfig里面添加到include,就没有这个错误提示了. > > 不知道跟你是不是一样的问题. > > 嗯,是编译时的报错,你是怎么做的? @wayward-man 我这里如果像 (heart: zrender.Heart) => {} 这样指定了类型,编译的时候没有错。 编辑器提示错误,就把文件添加到tsconfig的include里面,就没错误信息了。 我的tsconfig像下面这样 ```json { "compilerOptions": { "sourceMap": true, "noImplicitAny": true,...
It seems like you are having problems with thunder client, however this is REST client. Here you go https://github.com/rangav/thunder-client-support I am also thinking about switching to thunder client, as it...
Not just web version. I am using this extension in a desktop version of VS.
> I get next error with `FlexFieldsFilterBackend` > > ``` > File "/app/backend/.venv/lib/python3.11/site-packages/drf_spectacular/views.py", line 43, in > class SpectacularAPIView(APIView): > File "/app/backend/.venv/lib/python3.11/site-packages/drf_spectacular/views.py", line 55, in SpectacularAPIView > generator_class = spectacular_settings.DEFAULT_GENERATOR_CLASS...
> Yes, you need to get it via the property once first, then there will be a cached reference in `self._arrays`. Assigning to this may well do what you want....
> If someone would try the work-around suggested at [microsoft/pylance-release#5031 (comment)](https://github.com/microsoft/pylance-release/issues/5031#issuecomment-1888387625) and report back, we could confirm or reject this hypothesis. I've tried the workaround. Pylance then correctly picks installed...
Nope. Have to write it manually. ________________________________ 发件人: cantin-f ***@***.***> 发送时间: 2025年6月24日 19:26 收件人: rsinger86/drf-flex-fields ***@***.***> 抄送: baojd42 ***@***.***>; Mention ***@***.***> 主题: Re: [rsinger86/drf-flex-fields] Missing expand query parameter when generating...