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

fix for reference type issue in ts3 (#994) #995

Merged
merged 3 commits into from
Aug 29, 2018
Merged

fix for reference type issue in ts3 (#994) #995

merged 3 commits into from
Aug 29, 2018

Conversation

xaviergonz
Copy link
Contributor

@xaviergonz xaviergonz commented Aug 29, 2018

also fixes IType sometimes being inferred as IComplexType and improves the typings for postProcessSnapshot/preProcessSnapshot

@xaviergonz
Copy link
Contributor Author

PS I can cut a new minor version also if desired

@birkir
Copy link

birkir commented Aug 29, 2018

My man! (referencing #994 for further details)

@@ -156,6 +156,9 @@ export type Primitives = ModelPrimitive | null | undefined
export type TAndInterface<T, I> = (Exclude<T, Primitives> & I) | Extract<T, Primitives>

export interface IComplexType<C, S, T> extends IType<C, S, T> {
// fake, only used for tying
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo

@xaviergonz
Copy link
Contributor Author

xaviergonz commented Aug 29, 2018

typo fixed 👍
@mweststrate should I cut a new patch version?

@xaviergonz xaviergonz merged commit 5254482 into master Aug 29, 2018
@xaviergonz xaviergonz deleted the fix-ts3-994 branch November 25, 2018 11:26
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.

3 participants