Skip to content

Conversation

@cometkim
Copy link
Member

@vercel
Copy link

vercel bot commented Apr 11, 2024

@cometkim is attempting to deploy a commit to the ReScript Association Team on Vercel.

A member of the Team first needs to authorize it.

Comment on lines +67 to 68
import * as LeftPad from "./leftPad";
var paddedResult = LeftPad("hi", 5);
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@module external leftPad: (string, int) => string = "./leftPad"
let paddedResult = leftPad("hi", 5)

btw, this is a problematic example that only works with transpilers such as Babel or TypeScript (a.k.a synthetic default) and does not work with standard modules.

@fhammerschmidt
Copy link
Member

sorry, I merged your other PR and created a conflict, can you fix it then we are good to go?

@cometkim
Copy link
Member Author

no problem!

@fhammerschmidt fhammerschmidt merged commit df19ede into rescript-lang:master Apr 13, 2024
@cometkim cometkim deleted the esmodule branch April 13, 2024 12:44
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