mirror of
https://github.com/SukkaW/Surge.git
synced 2026-01-29 01:51:52 +08:00
Refactor: support RULE-SET as Mihomo's nameserver-policy
This commit is contained in:
@@ -94,7 +94,7 @@ export class ClashClassicRuleSet extends BaseWriteStrategy {
|
||||
|
||||
protected result: string[] = [`DOMAIN,${MARKER_DOMAIN}`];
|
||||
|
||||
constructor(public readonly type: 'ip' | 'non_ip' /* | (string & {}) */, public readonly outputDir = OUTPUT_CLASH_DIR) {
|
||||
constructor(public readonly type: 'ip' | 'non_ip' | (string & {}), public readonly outputDir = OUTPUT_CLASH_DIR) {
|
||||
super(outputDir);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user