Skip to content

Commit

Permalink
Fix TSDoc if ByteArray.toString()
Browse files Browse the repository at this point in the history
  • Loading branch information
JumpLink committed Dec 28, 2023
1 parent de38530 commit 87810cd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"deno.enable": false,
"editor.tabSize": 4,
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
"source.fixAll.eslint": "explicit"
},
"eslint.validate": [
"typescript"
Expand Down
2 changes: 1 addition & 1 deletion packages/generator-typescript/templates/gjs/gjs.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ declare namespace byteArray {
/** @deprecated Use {@link GLib.Bytes.toArray} instead */
export function fromGBytes(input: GLib.Bytes): Uint8Array

/** @deprecated Use {@link TextEncoder.encode} instead */
/** @deprecated Use {@link TextDecoder.decode} instead */
export function toString(x: Uint8Array, encoding?: TextDecoderEncoding): string

/** @deprecated Use {@link GLib.Bytes new GLib.Bytes() } instead */
Expand Down

0 comments on commit 87810cd

Please sign in to comment.