Skip to content

Commit 55e9f73

Browse files
committed
Support @Property and @prop in jsdoc
Fixes #353
1 parent 9a4fc46 commit 55e9f73

File tree

5 files changed

+404
-3
lines changed

5 files changed

+404
-3
lines changed

TypeScript.YAML-tmLanguage

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1982,7 +1982,7 @@ repository:
19821982
- match: |-
19831983
(?x)
19841984
1985-
(?:(?<=@param)|(?<=@arg)|(?<=@argument)|(?<=@type))
1985+
(?:(?<=@param)|(?<=@arg)|(?<=@argument)|(?<=@type)|(?<=@property)|(?<=@prop))
19861986
19871987
\s+
19881988

TypeScript.tmLanguage

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5477,7 +5477,7 @@
54775477
<key>match</key>
54785478
<string>(?x)
54795479
5480-
(?:(?&lt;=@param)|(?&lt;=@arg)|(?&lt;=@argument)|(?&lt;=@type))
5480+
(?:(?&lt;=@param)|(?&lt;=@arg)|(?&lt;=@argument)|(?&lt;=@type)|(?&lt;=@property)|(?&lt;=@prop))
54815481
54825482
\s+
54835483

TypeScriptReact.tmLanguage

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5459,7 +5459,7 @@
54595459
<key>match</key>
54605460
<string>(?x)
54615461
5462-
(?:(?&lt;=@param)|(?&lt;=@arg)|(?&lt;=@argument)|(?&lt;=@type))
5462+
(?:(?&lt;=@param)|(?&lt;=@arg)|(?&lt;=@argument)|(?&lt;=@type)|(?&lt;=@property)|(?&lt;=@prop))
54635463
54645464
\s+
54655465

0 commit comments

Comments
 (0)