- Notifications
You must be signed in to change notification settings - Fork927
chore: update generated array type definitions in TypeScript to be readonly#12947
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Changes fromall commits
3d6a2e6
72d8788
dfd6068
bade802
a622347
96693af
e4ea53a
6f69ae4
0f6556c
a1040d7
1b1d6f6
File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
package codersdk | ||
type ( | ||
Enumstring | ||
EnumSliceType []Enum | ||
) | ||
const ( | ||
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
package codersdk | ||
type Bar struct { | ||
Bar string | ||
} | ||
type Foo[R any] struct { | ||
Slice []R | ||
TwoD [][]R | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
// From codersdk/genericslice.go | ||
export interface Bar { | ||
readonly Bar: string | ||
} | ||
// From codersdk/genericslice.go | ||
export interface Foo<R extends any> { | ||
Member
| ||
readonly Slice: (readonly R[]) | ||
readonly TwoD: (readonly (readonly R[])[]) | ||
} |
Uh oh!
There was an error while loading.Please reload this page.