Skip to content

Commit

Permalink
[Rename] kbn-utility-types in packages directory to osd-utility-types…
Browse files Browse the repository at this point in the history
… (#39)

Signed-off-by: Mihir Soni <mihirsoni.123@gmail.com>
  • Loading branch information
mihirsoni authored and kavilla committed Mar 19, 2021
1 parent 161293c commit aa913cb
Show file tree
Hide file tree
Showing 12 changed files with 7 additions and 7 deletions.
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
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit aa913cb

Please sign in to comment.