Description
When a DateTime gets implicitly converted to a DateTimeOffset, the import op_Implicit is missing in the js library:
SyntaxError: The requested module 'https://fable.io/repl/js/repl/fable-library-js/DateOffset.js' does not provide an export named 'op_Implicit' (at 0110e4f1-0010-49d1-b621-0c084f71ae75:62:10)
Repro code
open System
let _: DateTimeOffset = DateTime.UtcNow.Date
import { op_Implicit } from "fable-library-js/DateOffset.js";
import { utcNow, date } from "fable-library-js/Date.js";
op_Implicit(date(utcNow()));
Related information
- Fable version: 4.19.3
- Operating system: OSX
Description
When a DateTime gets implicitly converted to a DateTimeOffset, the import
op_Implicitis missing in the js library:SyntaxError: The requested module 'https://fable.io/repl/js/repl/fable-library-js/DateOffset.js' does not provide an export named 'op_Implicit' (at 0110e4f1-0010-49d1-b621-0c084f71ae75:62:10)Repro code
Related information