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

refactor(wrapper.ts) format and style #97

Closed
wants to merge 2 commits into from

Conversation

PatrickJS
Copy link
Contributor

@PatrickJS PatrickJS commented Apr 1, 2024

fix spacing
const rather than let

redo types

const ref = this[NODE];
return signalGetFn.call<SignalNode<T>, [], T>(ref);

from

return signalGetFn<T>.call(this[NODE]);

probably better to review with split diff
https://github.com/proposal-signals/proposal-signals/pull/97/files?diff=split

@littledan
Copy link
Member

If we’re making these style fixes, do you want to set this up with some config files/CI so it is more sustainable than manual application?

@PatrickJS
Copy link
Contributor Author

yup I can set that up 👍 any preference? I'm thinking github actions eslint and prettier config

@littledan
Copy link
Member

My main preference is, leave the files which are forked from Angular as they are format-wise, to make it easier to later synchronize with them. Other than that, as long as we have semicolons, I am good with whatever style choice.

fix spacing
const rather than let

type 
```
const ref = this[NODE];
return signalGetFn.call<SignalNode<T>, [], T>(ref);
```
from 
```
return signalGetFn<T>.call(this[NODE]);
```
@PatrickJS
Copy link
Contributor Author

I'll get to this this weekend 👍

@PatrickJS
Copy link
Contributor Author

closing for #163

@PatrickJS PatrickJS closed this Apr 19, 2024
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