Files
bun.sh/src/bun.js/webcore/encoding.classes.ts
2022-08-18 19:06:29 -07:00

26 lines
418 B
TypeScript

import { define } from "../scripts/class-definitions";
export default [
define({
name: "TextDecoder",
construct: true,
finalize: true,
JSType: "0b11101110",
klass: {},
proto: {
encoding: {
getter: "getEncoding",
cache: true,
},
fatal: {
getter: "getFatal",
},
decode: {
fn: "decode",
length: 1,
},
},
}),
];