Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
feat(common): add locale id parameter to `registerLocaleData` #20623
What kind of change does this PR introduce?
What is the current behavior?
Registering locale data uses the locale id that it contains, and we then use the value of the token LOCALE_ID to find those data when needed.
What is the new behavior?
By default it has the same behavior, but you can also use the second parameter from the
Does this PR introduce a breaking change?
Note: @vicb I couldn't overload the existing signature because this only works with classes, since we only export one of the functions, the api generation was ignoring the other signatures.