Skip to content

Commit 05206ae

Browse files
authored
docs: add command to generate typings for an android package (#149)
1 parent 58150d5 commit 05206ae

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

content/guide/native-code/generate-typings.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,18 @@ ns typings android --jar <path to a jar>
2424
ns typings android --aar <path to an aar>
2525
```
2626

27+
You can also generate typings for an Android package (Maven):
28+
29+
```cli
30+
ns typings android <package-name>
31+
```
32+
33+
For instance:
34+
35+
```cli
36+
ns typings android "com.google.android.gms:play-services-tasks"
37+
```
38+
2739
### Custom code
2840

2941
1. Reference the generated types in [references.d.ts](/project-structure/references-d-ts)

0 commit comments

Comments
 (0)