kill snapshot.ts (untested)

This commit is contained in:
velzie 2024-08-25 14:55:20 -04:00
parent 9a39435c7d
commit 7f398cda17
No known key found for this signature in database
GPG key ID: 048413F95F0DDE1F
7 changed files with 33 additions and 18 deletions

View file

@ -1,6 +1,9 @@
import { ScramjetClient } from "../client";
import { config, encodeUrl } from "../shared";
export default function (client, self) {
export default function (client: ScramjetClient, self: Self) {
const Function = client.natives.Function;
self[config.importfn] = function (base: string) {
return function (url: string) {
const resolved = new URL(url, base).href;