mirror of
https://github.com/Silverquark/dance.git
synced 2024-09-11 10:45:43 +03:00
Fix typing error.
This commit is contained in:
parent
0d994c6f83
commit
cdfa9c8c05
@ -725,7 +725,7 @@ export function splitSelections(re: RegExp, selections = Context.current.selecti
|
||||
* ### Example
|
||||
*
|
||||
* ```ts
|
||||
* expect(Selections.selectWithin(/\d/).map(text), "to equal", [
|
||||
* expect(Selections.selectWithin(/\d/).map<string>(text), "to equal", [
|
||||
* "1",
|
||||
* "2",
|
||||
* "6",
|
||||
|
@ -1022,7 +1022,7 @@ suite("API tests", function () {
|
||||
await before.apply(editor);
|
||||
|
||||
await context.runAsync(async () => {
|
||||
expect(Selections.selectWithin(/\d/).map(text), "to equal", [
|
||||
expect(Selections.selectWithin(/\d/).map<string>(text), "to equal", [
|
||||
"1",
|
||||
"2",
|
||||
"6",
|
||||
|
Loading…
Reference in New Issue
Block a user