jc-structure 0.1.7 → 0.1.8

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.
package/index.d.ts CHANGED
@@ -1,8 +1,4 @@
1
1
  declare module "jc-structure" {
2
- import "./types/stack";
3
- import "./types/queue";
4
- import "./types/heap";
5
-
6
2
  /**
7
3
  * 栈类,采用object实现
8
4
  */
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "jc-structure",
3
3
  "private": false,
4
- "version": "0.1.7",
4
+ "version": "0.1.8",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist",
package/types/queue.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- interface IQueue<T> extends Structure {
1
+ declare interface IQueue<T> extends Structure {
2
2
  /**
3
3
  * #### 移除队列头部元素并返回该元素
4
4
  */
package/types/stack.d.ts CHANGED
@@ -2,7 +2,7 @@ interface StructureObj<T> {
2
2
  [key: number]: T;
3
3
  }
4
4
 
5
- interface IStack<T> extends Structure {
5
+ declare interface IStack<T> extends Structure {
6
6
  /**
7
7
  * #### 移除栈顶元素并返回该元素
8
8
  */