The whiteList config is defined as an object map actually, and its typing is described here. But some of the examples in README file use it as an empty array. So if someone copied the example codes directly, they might be curious why the type checkings fails.
This PR simply corrects these usages in docs, please have a look :)
The
whiteList
config is defined as an object map actually, and its typing is described here. But some of the examples in README file use it as an empty array. So if someone copied the example codes directly, they might be curious why the type checkings fails.This PR simply corrects these usages in docs, please have a look :)