dcloudio / dcloudio/WebFrameworkGrammar

jsdoc 对 data中的属性不起作用

Open
#5 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
68
Forks
45
PR merge metrics
No merged PRs in 30d

Description

data(){
camera:undefind,
},

created(){
let camera2 = new Camera() //这样起作用
this.camera = new Camera() // 这样不起作用
},

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the JavaScript example in the issue and inspect how WebFrameworkGrammar handles JSDoc types for properties declared in data(). Compare the inferred type for this.camera with the local camera2 variable; done means both usages receive the expected Camera type information.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.