mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-05 19:28:39 +00:00
* To @flow: MacroExpander. * Explicitly pass context into defineMacro called with a function. Instead of binding `this` when `defineMacro` is invoked with a function, we now pass an explicit context as a parameter to the function. This is a bit more obvious and is currently more type-safe due to a bug in `@flow`: https://github.com/facebook/flow/issues/4809 * Per feedback, rename some types, fields, and variables.
7 lines
163 B
JavaScript
7 lines
163 B
JavaScript
declare module 'object-assign' {
|
|
declare module.exports:
|
|
<T>(target: {[string]: T}, ...sources: Array<{[string]: T}>)
|
|
=> {[string]: T};
|
|
}
|
|
|