@vnejs/plugins.core.text 0.0.1 → 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/module.d.ts +11 -0
  2. package/package.json +2 -1
package/module.d.ts ADDED
@@ -0,0 +1,11 @@
1
+ import { SUBSCRIBE_EVENTS } from "./const/events";
2
+ import { SETTINGS_KEYS } from "./const/settings";
3
+
4
+ declare module "@vnejs/shared" {
5
+ interface VNE_EVENTS {
6
+ TEXT: typeof SUBSCRIBE_EVENTS;
7
+ }
8
+ interface VNE_SETTINGS {
9
+ TEXT: typeof SETTINGS_KEYS;
10
+ }
11
+ }
package/package.json CHANGED
@@ -1,7 +1,8 @@
1
1
  {
2
2
  "name": "@vnejs/plugins.core.text",
3
- "version": "0.0.1",
3
+ "version": "0.0.2",
4
4
  "main": "index.js",
5
+ "types": "module.d.ts",
5
6
  "scripts": {
6
7
  "test": "echo \"Error: no test specified\" && exit 1",
7
8
  "publish:major": "npm version major && npm publish --access public",