浏览代码

More accurate docs for @:native metadata

Jens Fischer 5 年之前
父节点
当前提交
afec0ae6c9
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      src-json/meta.json

+ 3 - 3
src-json/meta.json

@@ -712,9 +712,9 @@
 	{
 		"name": "Native",
 		"metadata": ":native",
-		"doc": "Rewrites the path of a class or enum during generation.",
-		"params": ["Output type path"],
-		"targets": ["TClass", "TEnum"],
+		"doc": "Rewrites the path of a type or class field during generation.",
+		"params": ["Output path"],
+		"targets": ["TClass", "TEnum", "TAbstract", "TClassField"],
 		"links": ["https://haxe.org/manual/lf-externs.html"]
 	},
 	{