@code-to-json/utils
Advanced tools
Comparing version 1.0.0-rc.25 to 1.0.0-rc.26
@@ -6,2 +6,10 @@ # Change Log | ||
# [1.0.0-rc.26](https://github.com/mike-north/code-to-json/compare/@code-to-json/utils@1.0.0-rc.25...@code-to-json/utils@1.0.0-rc.26) (2019-02-24) | ||
**Note:** Version bump only for package @code-to-json/utils | ||
# [1.0.0-rc.25](https://github.com/mike-north/code-to-json/compare/@code-to-json/utils@1.0.0-rc.24...@code-to-json/utils@1.0.0-rc.25) (2019-02-24) | ||
@@ -8,0 +16,0 @@ |
@@ -41,3 +41,3 @@ /** | ||
export declare function isRef<R extends Ref<any>>(thing?: R): thing is R; | ||
export declare function isRef<K extends string>(thing: any, refType: K): thing is Ref<K>; | ||
export declare function isRef<K extends string>(thing: any, refTyp: K): thing is Ref<K>; | ||
/** | ||
@@ -44,0 +44,0 @@ * Create a new reference |
{ | ||
"name": "@code-to-json/utils", | ||
"version": "1.0.0-rc.25", | ||
"version": "1.0.0-rc.26", | ||
"description": "Low-level utilities for code-to-json", | ||
@@ -28,4 +28,4 @@ "main": "lib/src/index.js", | ||
"@types/chai": "4.1.7", | ||
"@typescript-eslint/eslint-plugin": "1.3.0", | ||
"@typescript-eslint/parser": "1.3.0", | ||
"@typescript-eslint/eslint-plugin": "1.4.1", | ||
"@typescript-eslint/parser": "1.4.1", | ||
"chai": "4.2.0", | ||
@@ -37,3 +37,3 @@ "eslint": "5.14.1", | ||
"eslint-plugin-prettier": "3.0.1", | ||
"mocha": "5.2.0", | ||
"mocha": "6.0.1", | ||
"nyc": "13.3.0", | ||
@@ -47,3 +47,3 @@ "remark-cli": "6.0.1", | ||
"ts-node": "8.0.2", | ||
"typescript": "3.3.3" | ||
"typescript": "3.3.3333" | ||
}, | ||
@@ -94,3 +94,3 @@ "nyc": { | ||
}, | ||
"gitHead": "30b564c2f66d95ee2cd1b98fac53fe825e511ba7" | ||
"gitHead": "530414443e1c57c34891a9b40f5431a039ec59cd" | ||
} |
@@ -49,3 +49,3 @@ import { isArray } from '../array'; | ||
export function isRef<R extends Ref<any>>(thing?: R): thing is R; | ||
export function isRef<K extends string>(thing: any, refType: K): thing is Ref<K>; | ||
export function isRef<K extends string>(thing: any, refTyp: K): thing is Ref<K>; | ||
export function isRef<R extends Ref<any>>(thing?: R): thing is R { | ||
@@ -52,0 +52,0 @@ return ( |
Sorry, the diff of this file is not supported yet
86386