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

string型で数字が来たときの処理 #2

Open
1natsu172 opened this issue Jan 11, 2019 · 0 comments
Open

string型で数字が来たときの処理 #2

1natsu172 opened this issue Jan 11, 2019 · 0 comments
Labels
help wanted Extra attention is needed

Comments

@1natsu172
Copy link
Owner

String<Number> なものの取り扱いについて

mq.min('480') みたいに渡されたときに今はエラーで弾いているけどどうするか

現状(v1.0.2)

  • pxで渡すことを想定しているので文字列ならpxを含めるのは必須
    • px前提なら'px'が含まれていなくてもいいはずという意見もありそう
      • それならそもそもNumber型で渡せばいいのではという気もする
@1natsu172 1natsu172 added the help wanted Extra attention is needed label Jan 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant