Browse Source

More accurate docs for @:native metadata

Jens Fischer 5 years ago
parent
commit
afec0ae6c9
1 changed files with 3 additions and 3 deletions
  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"]
 	},
 	{