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

Update use of js-yaml for compatibility with newer type defintions #24

Merged
merged 1 commit into from
Apr 19, 2018

Conversation

cjlarose
Copy link
Contributor

@cjlarose cjlarose commented Mar 30, 2018

A recent change changed the return type of safeLoad from any to object. Accessing any property on a value of type object generates a compiler error.

src/config.ts(168,17): error TS2339: Property 'apiVersion' does not exist on type 'object'.

A [recent change][0] changed the return type of `safeLoad` from `any` to
`object`. Accessing any property on a value of type `object` generates a
compiler error.

```
src/config.ts(168,17): error TS2339: Property 'apiVersion' does not exist on type 'object'.
```

[0]: DefinitelyTyped/DefinitelyTyped@ae9aff4
@brendandburns brendandburns merged commit a784713 into kubernetes-client:master Apr 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants