Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
a820e0d1b3 | |||
57c67a287a |
@ -9,5 +9,7 @@ We recommend the use of TypeScript for good intellisense.
|
|||||||
|
|
||||||
```typescript
|
```typescript
|
||||||
// import any tool that you need from lik
|
// import any tool that you need from lik
|
||||||
import {Stringmap} from "lik";
|
import { Stringmap, Objectmap } from "lik";
|
||||||
```
|
```
|
||||||
|
|
||||||
|
For a class overview, please read the docs
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "lik",
|
"name": "lik",
|
||||||
"version": "1.0.16",
|
"version": "1.0.17",
|
||||||
"description": "light little helpers for node",
|
"description": "light little helpers for node",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"typings": "dist/index.d.ts",
|
"typings": "dist/index.d.ts",
|
||||||
|
@ -20,6 +20,15 @@ export class Stringmap {
|
|||||||
this.notifyTrigger()
|
this.notifyTrigger()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* like addString, but accepts an array of strings
|
||||||
|
*/
|
||||||
|
addStringArray(stringArrayArg: string[]) {
|
||||||
|
for (let stringItem of stringArrayArg){
|
||||||
|
this.addString(stringItem)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* removes a string from Stringmap
|
* removes a string from Stringmap
|
||||||
*/
|
*/
|
||||||
|
Reference in New Issue
Block a user