mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
Remove all template tag lines from the .d.ts file (#2030)
This commit is contained in:
4
commands/types/dnscontrol.d.ts
vendored
4
commands/types/dnscontrol.d.ts
vendored
@@ -1758,17 +1758,13 @@ declare function getConfiguredDomains(): string[];
|
||||
* One more important thing to note: `require_glob()` is as smart as `require()` is. It loads files always relative to the JavaScript
|
||||
* file where it's being executed in. Let's go with an example, as it describes it better:
|
||||
*
|
||||
* {% code title="dnsconfig.js" %}
|
||||
* ```javascript
|
||||
* require("domains/index.js");
|
||||
* ```
|
||||
* {% endcode %}
|
||||
*
|
||||
* {% code title="domains/index.js" %}
|
||||
* ```javascript
|
||||
* require_glob("./user1/");
|
||||
* ```
|
||||
* {% endcode %}
|
||||
*
|
||||
* This will now load files being present underneath `./domains/user1/` and **NOT** at below `./domains/`, as `require_glob()`
|
||||
* is called in the subfolder `domains/`.
|
||||
|
||||
Reference in New Issue
Block a user