Skip to content

Commit bd9ba4a

Browse files
authored
🤖 Merge PR DefinitelyTyped#74208 node: re-add deprecated EncodeIntoResult alias in v25 by @Renegade334
1 parent 5bf6e51 commit bd9ba4a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

‎types/node/util.d.ts‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1246,6 +1246,9 @@ declare module "node:util" {
12461246
text: string,
12471247
options?: StyleTextOptions,
12481248
): string;
1249+
/** @deprecated This alias will be removed in a future version. Use the canonical `TextEncoderEncodeIntoResult` instead. */
1250+
// TODO: remove in future major
1251+
export interface EncodeIntoResult extends TextEncoderEncodeIntoResult {}
12491252
//// parseArgs
12501253
/**
12511254
* Provides a higher level API for command-line argument parsing than interacting

0 commit comments

Comments
 (0)