Skip to content

Instantly share code, notes, and snippets.

@ghaskins
Created October 15, 2019 13:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ghaskins/de98175b39fd994e7e5a30740c3a3941 to your computer and use it in GitHub Desktop.
Save ghaskins/de98175b39fd994e7e5a30740c3a3941 to your computer and use it in GitHub Desktop.
[:app] Build completed. (142 files, 64 compiled, 1 warnings, 14.71s)
------ WARNING #1 - :infer-warning ---------------------------------------------
File: /Users/ghaskins/sandbox/react-native/nativetest/src/react_native/core.cljs:18:3
--------------------------------------------------------------------------------
15 | (.alert (u/get-obj "Alert") title))
16 |
17 | (defn register-componnet [name root]
18 | (.registerComponent ^js app-registry name #(r/reactify-component root)))
---------^----------------------------------------------------------------------
Cannot infer target type in expression (. app-registry registerComponent name (fn* [] (r/reactify-component root)))
--------------------------------------------------------------------------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment