Add barcode-detector-api-polyfill dependency and update environment variable declarations in SvelteKit project
CI / build (push) Has been skipped
CI / deploy (push) Successful in 1m50s

This commit is contained in:
eewing
2026-02-17 14:58:53 -06:00
parent cff20a652a
commit 9022114c8d
2137 changed files with 201996 additions and 762 deletions
+35
View File
@@ -0,0 +1,35 @@
/**
* @param {boolean} fatal If true, decoding errors raise an exception.
* @param {number=} opt_code_point Override the standard fallback code point.
* @return {number} The code point to insert on a decoding error.
*/
export declare function decoderError(fatal: boolean, opt_code_point?: number | undefined): number;
/**
* @param {number} code_point The code point that could not be encoded.
* @return {number} Always throws, no value is actually returned.
*/
export declare function encoderError(code_point: number): number;
/**
* @param {string} label The encoding label.
* @return {?{name:string,labels:Array.<string>}}
*/
export declare function getEncoding(label: string): {
name: string;
labels: Array<string>;
} | null;
/**
* Encodings table: https://encoding.spec.whatwg.org/encodings.json
* @const
* @type {!Array.<{
* heading: string,
* encodings: Array.<{name:string,labels:Array.<string>}>
* }>}
*/
declare const encodings: {
heading: string;
encodings: {
name: string;
labels: string[];
}[];
}[];
export { encodings };