-
Notifications
You must be signed in to change notification settings - Fork 0
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
next: Allow infered types #61
Comments
elycruz
added a commit
that referenced
this issue
Aug 27, 2022
…hough modified to absolutely work for strings, arrays, or objects meeting the requirements - type need fine tweaking to match the intersected types' internals ('concat()', '[index: number]: ...', types etc.). - Progress on updating existing methods to have 'green' tests.
elycruz
added a commit
that referenced
this issue
Aug 27, 2022
elycruz
added a commit
that referenced
this issue
Aug 27, 2022
elycruz
added a commit
that referenced
this issue
Aug 27, 2022
elycruz
added a commit
that referenced
this issue
Aug 28, 2022
elycruz
added a commit
that referenced
this issue
Aug 28, 2022
elycruz
added a commit
that referenced
this issue
Aug 28, 2022
elycruz
added a commit
that referenced
this issue
Aug 28, 2022
elycruz
added a commit
that referenced
this issue
Aug 28, 2022
- Added tests scaffold for 'number/' module.
elycruz
added a commit
that referenced
this issue
Aug 28, 2022
- Added tests scaffold for 'number/' module.
elycruz
added a commit
that referenced
this issue
Aug 28, 2022
…, etc.) and their associated types - We have general types that can stand in for these (e.g., 'TernaryPred', etc.). - data/maybe - Removed unused method import. - tests/number - Updated empty test suite, so it doesn't fail.
elycruz
added a commit
that referenced
this issue
Aug 28, 2022
elycruz
added a commit
that referenced
this issue
Aug 28, 2022
elycruz
added a commit
that referenced
this issue
Aug 28, 2022
…tions. - Simplified implementation in 'length' module, to remove cyclic dependency. - Disabled tsconfig 'declaration' option in default some tsconfig.json files. - Added 'global' property to 'output' configs in 'fjl/rollup.config'.
elycruz
added a commit
that referenced
this issue
Aug 28, 2022
…tions. - Simplified implementation in 'length' module, to remove cyclic dependency. - Disabled tsconfig 'declaration' option in default some tsconfig.json files. - Added 'global' property to 'output' configs in 'fjl/rollup.config'.
elycruz
added a commit
that referenced
this issue
Aug 28, 2022
…d node versions. - Began updating the main README file. - Separate out methods in 'number/' module to separate files. Updated readmes in 'platform/', and 'types/'.
elycruz
added a commit
that referenced
this issue
Sep 2, 2022
…tead of required ones (more ergonomic). - Renamed 'FunctorMapFn' to 'FunctorMapOp' - so it follows same naming schema as other '*Op' methods. - Added types to 'FunctorMapOp'. - Simplified 'maybe' method implementation. - Renamed some generics.
elycruz
added a commit
that referenced
this issue
Sep 2, 2022
elycruz
added a commit
that referenced
this issue
Sep 2, 2022
- Removed 'packages/fjl/CHANGELOG' file.
elycruz
added a commit
that referenced
this issue
Sep 2, 2022
- Updated 'runIoFilters', and 'runFilters' method types, and implementations - 'type' typo existed there impeding tests from passing. - Updated 'Monad', and 'Maybe' tests.
elycruz
added a commit
that referenced
this issue
Sep 2, 2022
elycruz
added a commit
that referenced
this issue
Sep 13, 2022
…l-jslib/fjl into issue-#61-types_simplification
elycruz
added a commit
that referenced
this issue
Sep 18, 2022
- Added 'fjl-validator-recaptcha' to workspace, and test configs.
elycruz
added a commit
that referenced
this issue
Sep 18, 2022
- Renamed '.eslintrc' to '.eslintrc.json'. - Fixed eslint issue in sources.
elycruz
added a commit
that referenced
this issue
Nov 2, 2022
…cation Issue #61 types simplification
elycruz
added a commit
that referenced
this issue
Dec 13, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Typescript has a good inference engine (
any
- Used when some types are left out etc.) which can infer most type information when using the languages primitives (Array, string, number, etc.). When this is the case , and/or we need union types, we should not restrict types we should allow the inference engine to take over - Lessens the amount of "typings" required, speeds up development, and makes function more versatile (in a restricted sense).We need to remove typescript "typings" where they're not, absolutely, necessary.
Acceptance Criteria
Remove typings where they aren't required (in):
The text was updated successfully, but these errors were encountered: