Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions cloudini_foxglove/.gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
dist/
node_modules/
*.foxe
4 changes: 2 additions & 2 deletions cloudini_foxglove/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion cloudini_foxglove/src/PointCloudConverter.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { CompressedPointCloud, PointCloud } from "./Schemas";
import CloudiniModule from "./cloudini_wasm_single.js";
import type { CloudiniWasmModule } from "./cloudini_wasm";
import type { CloudiniWasmModule } from "./cloudini_wasm_single";

let wasmModule: CloudiniWasmModule | null = null;
let wasmLoadingPromise: Promise<void> | null = null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,5 @@ export interface CloudiniWasmModule extends EmscriptenModule {
_cldn_GetDecompressedSize(inputPtr: number, inputSize: number): number;
}

declare module "./cloudini_wasm_single.js" {
function CloudiniModule(): Promise<CloudiniWasmModule>;
export default CloudiniModule;
}
declare function CloudiniModule(): Promise<CloudiniWasmModule>;
export default CloudiniModule;
2 changes: 1 addition & 1 deletion cloudini_foxglove/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"extends": "create-foxglove-extension/tsconfig/tsconfig.json",

"include": ["./src/**/*", "src/cloudini_wasm.d.ts"],
"include": ["./src/**/*", "src/cloudini_wasm_single.d.ts"],
"compilerOptions": {
"rootDir": "./src",
"outDir": "./dist",
Expand Down