Skip to content

Commit

Permalink
fix(jsii): document location of initializers in source (#1806)
Browse files Browse the repository at this point in the history
Those were previously not recorded, although the assembly schema supports
recording this information.



---

By submitting this pull request, I confirm that my contribution is made under the terms of the [Apache 2.0 license].

[Apache 2.0 license]: https://www.apache.org/licenses/LICENSE-2.0
  • Loading branch information
RomainMuller authored Jul 21, 2020
1 parent 6f2a181 commit 3957827
Show file tree
Hide file tree
Showing 5 changed files with 343 additions and 5 deletions.
10 changes: 9 additions & 1 deletion packages/@scope/jsii-calc-lib/test/assembly.jsii
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,10 @@
"stability": "deprecated",
"summary": "Creates a Number object."
},
"locationInModule": {
"filename": "lib/index.ts",
"line": 35
},
"parameters": [
{
"docs": {
Expand Down Expand Up @@ -626,6 +630,10 @@
"initializer": {
"docs": {
"stability": "deprecated"
},
"locationInModule": {
"filename": "lib/submodule/index.ts",
"line": 11
}
},
"kind": "class",
Expand Down Expand Up @@ -668,5 +676,5 @@
}
},
"version": "0.0.0",
"fingerprint": "w6/8Kda6/JitSbpMK3LGPK5JGRxJ50gflR5S4sUEHKk="
"fingerprint": "fVfpIK7xUajlT1zkHIJ8uYJPvy0gLgEe5BM8afu1mVg="
}
Loading

0 comments on commit 3957827

Please sign in to comment.