Enforce node: schema for builtins, import extensions
This commit is contained in:
parent
cc6b8795b8
commit
c02565eaa8
2096 changed files with 14955 additions and 14023 deletions
|
|
@ -1,7 +1,7 @@
|
|||
// Copyright 2021 Signal Messenger, LLC
|
||||
// SPDX-License-Identifier: AGPL-3.0-only
|
||||
|
||||
import { canvasToBytes } from './canvasToBytes';
|
||||
import { canvasToBytes } from './canvasToBytes.js';
|
||||
|
||||
export async function imagePathToBytes(src: string): Promise<Uint8Array> {
|
||||
const image = new Image();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue