@bf2/ui-shared
Advanced tools
Comparing version 0.0.12 to 0.0.13
@@ -13,2 +13,2 @@ import React from "react"; | ||
export declare const AlertContext: React.Context<Alert | undefined>; | ||
export declare const useAlert: () => any; | ||
export declare const useAlert: () => Alert; |
@@ -6,2 +6,2 @@ import React from "react"; | ||
export declare const BasenameContext: React.Context<Basename | undefined>; | ||
export declare const useBasename: () => any; | ||
export declare const useBasename: () => Basename; |
@@ -32,2 +32,2 @@ import React from "react"; | ||
export declare const ConfigContext: React.Context<Config | undefined>; | ||
export declare const useConfig: () => any; | ||
export declare const useConfig: () => Config; |
{ | ||
"name": "@bf2/ui-shared", | ||
"version": "0.0.12", | ||
"version": "0.0.13", | ||
"description": "UI Shared contains a number of type definitions for shared data structures for the UI.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -18,3 +18,3 @@ import React, {useContext} from "react"; | ||
export const useAlert = () => useContext(AlertContext); | ||
export const useAlert = (): Alert => useContext(AlertContext); | ||
@@ -9,2 +9,2 @@ import React, { useContext } from "react"; | ||
export const useBasename = () => useContext(BasenameContext); | ||
export const useBasename = (): Basename => useContext(BasenameContext); |
@@ -37,2 +37,2 @@ import React, { useContext } from "react"; | ||
export const useConfig = () => useContext(ConfigContext); | ||
export const useConfig = (): Config => useContext(ConfigContext); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
9711