Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Rename] kbn-utility-types in packages directory to osd-utility-types #39

Merged
merged 1 commit into from
Mar 4, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# `@kbn/utility-types`
# `@osd/utility-types`

TypeScript utility types for usage in Kibana.
TypeScript utility types for usage in OpenSearch Dashboards.

- This package re-exports a subset of the items in [`utility-types`](https://github.com/piotrwitek/utility-types)
- You can also add more utility types here.
Expand All @@ -9,7 +9,7 @@ TypeScript utility types for usage in Kibana.
## Usage

```ts
import { UnwrapPromise } from '@kbn/utility-types';
import { UnwrapPromise } from '@osd/utility-types';

type A = Promise<string>;
type B = UnwrapPromise<A>; // string
Expand Down
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
{
"name": "@kbn/utility-types",
"name": "@osd/utility-types",
"version": "1.0.0",
"private": true,
"license": "Apache-2.0",
"main": "target",
"types": "target/index.d.ts",
"kibana": {
"opensearchDashboards": {
"devOnly": true
},
"scripts": {
"build": "tsc",
"kbn:bootstrap": "tsc",
"kbn:watch": "tsc --watch",
"osd:bootstrap": "tsc",
"osd:watch": "tsc --watch",
"test": "tsd",
"clean": "del target"
},
Expand Down