Skip to content

Commit

Permalink
Enable declaration map for better DX
Browse files Browse the repository at this point in the history
  • Loading branch information
HuakunShen committed Jun 20, 2024
1 parent cce4abe commit 665d28d
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "tauri-plugin-clipboard"
license = "MIT"
version = "1.1.1"
version = "1.1.2"
description = "A clipboard plugin for Tauri that supports text, files and image, as well as clipboard update listening."
authors = [ "Huakun" ]
edition = "2021"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tauri-plugin-clipboard-api",
"version": "1.1.1",
"version": "1.1.2",
"author": "Huakun Shen",
"type": "module",
"description": "",
Expand Down
1 change: 1 addition & 0 deletions webview-dist/api.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -184,3 +184,4 @@ export declare function stopMonitor(): Promise<void>;
export declare function listenToMonitorStatusUpdate(cb: (running: boolean) => void): Promise<UnlistenFn>;
export declare function startListening(): Promise<() => Promise<void>>;
export {};
//# sourceMappingURL=api.d.ts.map
1 change: 1 addition & 0 deletions webview-dist/api.d.ts.map

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

1 change: 1 addition & 0 deletions webview-dist/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
export * from "./api";
export * as default from "./api";
//# sourceMappingURL=index.d.ts.map
1 change: 1 addition & 0 deletions webview-dist/index.d.ts.map

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

2 changes: 1 addition & 1 deletion webview-dist/index.js

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion webview-src/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"compilerOptions": {
"target": "ES5",
"target": "es2021",
"module": "esnext",
"strict": true,
"allowJs": true,
"esModuleInterop": true,
Expand All @@ -9,6 +10,7 @@
"types": ["@types"]
},
"declaration": true,
"declarationMap": true,
"declarationDir": "../webview-dist",
"rootDir": "./"
},
Expand Down

0 comments on commit 665d28d

Please sign in to comment.